//
// Created by madison on 2022/1/11.
//

#include <stdio.h>

int main() {
    int sum = 17, count = 5;
    double mean;

    mean = (double) sum / count;
    printf("Value of mean : %f\n", mean);

    // 整数提升
    int i = 17;
    char c = 'c'; /* ascii 值是 99 */

    sum = i + c;
    printf("Value of sum : %d\n", sum);

    float sum1;

    sum1 = i + c;
    printf("Value of sum : %f\n", sum1);
}